#ifndef __FORMATNATUAL_H__ 
#define __FORMATNATUAL_H__
#include <Format.h>
#include <ostream>

class CascadeFormat:public Format
{
public:
    virtual void toString(std::ostream & os,const int value, const Unit &unit);
    static const CascadeFormat& getInstance();
private:
    CascadeFormat();
    void getRemainAndQuotient(const Unit *p_unit, int &remain, int &quotient);
    void printDelimiter(std::ostream & os, const Unit* const p_unit);
};
#endif

